package model;

import javafx.scene.image.Image;

public class Photo {
	private String name;
	private String originalPath;
	private Image photo;
	private String creattime;
	private int[] pixel;
	private double size;

    public Photo() {
    }
    
    public Photo(Image photo){
        this.photo = photo;
    }

//    public Photo(String name, String originalPath, Image photo, String creattime, int[] pixel, double size) {
//        this.name = name;
//        this.originalPath = originalPath;
//        this.photo = photo;
//        this.creattime = creattime;
//        this.pixel = pixel;
//        this.size = size;
//    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the originalPath
     */
    public String getOriginalPath() {
        return originalPath;
    }

    /**
     * @param originalPath the originalPath to set
     */
    public void setOriginalPath(String originalPath) {
        this.originalPath = originalPath;
    }

    /**
     * @return the photo
     */
    public Image getPhoto() {
        return photo;
    }

    /**
     * @param photo the photo to set
     */
    public void setPhoto(Image photo) {
        this.photo = photo;
    }

    /**
     * @return the creattime
     */
    public String getCreattime() {
        return creattime;
    }

    /**
     * @param creattime the creattime to set
     */
    public void setCreattime(String creattime) {
        this.creattime = creattime;
    }

    /**
     * @return the pixel
     */
    public int[] getPixel() {
        return pixel;
    }

    /**
     * @param pixel the pixel to set
     */
    public void setPixel(int[] pixel) {
        this.pixel = pixel;
    }

    /**
     * @return the size
     */
    public double getSize() {
        return size;
    }

    /**
     * @param size the size to set
     */
    public void setSize(double size) {
        this.size = size;
    }
	
	
	
	
}
